
/*Execution of a loop an unknown number of times
Developer's Name: Md Ali Umar
Dated: 22/9/2011*/

#include<stdio.h>
#include<conio.h>
void main()
{

	char another;
	int num;

	clrscr();


	do

	{

		printf("\n\n\n\t\tEnter a number: ");

		scanf("%d", &num);

		printf("\n\t\tSquare of %d is %d ",num, num * num);

		printf("\n\n\n\t\tWant to Enter another number y/n: ");

		another = getche();

	 }  while(another == 'y');


	getch();

}
